/**
 * @filename:SubCourseExamPaperDao Course
 * @project constract  V1.0
 * Copyright(c) 2018  Co. Ltd. 
 * All right reserved. 
 */
package com.znufe.exam.repository;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import com.znufe.exam.domain.SubCourseExamPaper;

/**   
 *  
 * @Description:  课程表——DAO
 * @Author:          
 * @CreateDate:   Course
 * @Version:      V1.0
 *    
 */
@Mapper
public interface SubCourseExamPaperMapper {
	
	SubCourseExamPaper selectByPrimaryKey(Integer id);
	
	int deleteByPrimaryKey(Integer id);
	
	int insertSelective(SubCourseExamPaper subCourseExamPaper);
	
	int updateByPrimaryKeySelective(SubCourseExamPaper subCourseExamPaper);
	
	List<SubCourseExamPaper> querySubCourseExamPaperList(SubCourseExamPaper subCourseExamPaper);

    List<Integer> getAllExamPaperId(Integer subCourseId);

    int deleteBySubCourseId(Integer subCourseId);
}
